import { RouteRecordRaw } from 'vue-router'

const diskRoutes: Array<RouteRecordRaw> = [
  {
    path: '/disk',
    redirect: '/disk/index',
    name: 'Disk',
    meta: { title: '知识笔记', icon: 'edit' },
    children: [
      {
        path: 'index',
        component: () => import('../views/disk/Disk.vue'),
        name: 'DiskIndex',
        meta: { title: '知识笔记', icon: 'edit' },
      },
    ],
  },
]

export default diskRoutes
